package QuickSort;

public class QuickSortDemo2 {
    public static void main(String[] args) {
        //求5的阶乘

        System.out.println(jc(5));
    }

    public static int jc(int num){
        if (1 == num || 0 == num){
            return 1;
        }

        return num * jc(num - 1);
    }
}
